package com.coding.pojo;

import java.io.Serializable;

/**
 * oss_images
 * @author 
 */
public class OssImages implements Serializable {
    private Integer image_id;

    private String image_name;

    private String image_url;

    private String image_tag;

    private String image_tag2;

    private String image_more;

    private String image_date;

    private static final long serialVersionUID = 1L;

    public Integer getImage_id() {
        return image_id;
    }

    public void setImage_id(Integer image_id) {
        this.image_id = image_id;
    }

    public String getImage_name() {
        return image_name;
    }

    public void setImage_name(String image_name) {
        this.image_name = image_name;
    }

    public String getImage_url() {
        return image_url;
    }

    public void setImage_url(String image_url) {
        this.image_url = image_url;
    }

    public String getImage_tag() {
        return image_tag;
    }

    public void setImage_tag(String image_tag) {
        this.image_tag = image_tag;
    }

    public String getImage_tag2() {
        return image_tag2;
    }

    public void setImage_tag2(String image_tag2) {
        this.image_tag2 = image_tag2;
    }

    public String getImage_more() {
        return image_more;
    }

    public void setImage_more(String image_more) {
        this.image_more = image_more;
    }

    public String getImage_date() {
        return image_date;
    }

    public void setImage_date(String image_date) {
        this.image_date = image_date;
    }

    @Override
    public boolean equals(Object that) {
        if (this == that) {
            return true;
        }
        if (that == null) {
            return false;
        }
        if (getClass() != that.getClass()) {
            return false;
        }
        OssImages other = (OssImages) that;
        return (this.getImage_id() == null ? other.getImage_id() == null : this.getImage_id().equals(other.getImage_id()))
            && (this.getImage_name() == null ? other.getImage_name() == null : this.getImage_name().equals(other.getImage_name()))
            && (this.getImage_url() == null ? other.getImage_url() == null : this.getImage_url().equals(other.getImage_url()))
            && (this.getImage_tag() == null ? other.getImage_tag() == null : this.getImage_tag().equals(other.getImage_tag()))
            && (this.getImage_tag2() == null ? other.getImage_tag2() == null : this.getImage_tag2().equals(other.getImage_tag2()))
            && (this.getImage_more() == null ? other.getImage_more() == null : this.getImage_more().equals(other.getImage_more()))
            && (this.getImage_date() == null ? other.getImage_date() == null : this.getImage_date().equals(other.getImage_date()));
    }

    @Override
    public int hashCode() {
        final int prime = 31;
        int result = 1;
        result = prime * result + ((getImage_id() == null) ? 0 : getImage_id().hashCode());
        result = prime * result + ((getImage_name() == null) ? 0 : getImage_name().hashCode());
        result = prime * result + ((getImage_url() == null) ? 0 : getImage_url().hashCode());
        result = prime * result + ((getImage_tag() == null) ? 0 : getImage_tag().hashCode());
        result = prime * result + ((getImage_tag2() == null) ? 0 : getImage_tag2().hashCode());
        result = prime * result + ((getImage_more() == null) ? 0 : getImage_more().hashCode());
        result = prime * result + ((getImage_date() == null) ? 0 : getImage_date().hashCode());
        return result;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", image_id=").append(image_id);
        sb.append(", image_name=").append(image_name);
        sb.append(", image_url=").append(image_url);
        sb.append(", image_tag=").append(image_tag);
        sb.append(", image_tag2=").append(image_tag2);
        sb.append(", image_more=").append(image_more);
        sb.append(", image_date=").append(image_date);
        sb.append(", serialVersionUID=").append(serialVersionUID);
        sb.append("]");
        return sb.toString();
    }
}